<template>
	<!--宫格-->
	<up-grid :border="false" col=5>
		<up-grid-item v-for="(baseListItem,baseListIndex) in props.initValue" :key="baseListIndex">
			<up-icon :customStyle="{paddingTop:20+'rpx'}" :name="baseListItem.name" :size="22"></up-icon>
			<text class="grid-text">{{baseListItem.title}}</text>
		</up-grid-item>
	</up-grid>
</template>

<script setup>
	import {
		ref
	} from 'vue'
	const initValue = ref([])
	const props = defineProps({
		initValue: {
			type: Array,
			default: []
		}
	})
</script>

<style>
</style>